{include file="public/header" /}
<title>{:lang('留言反馈')}</title>
<header id="header" class="mui-bar mui-bar-nav">
    <div class="mui-pull-left PopupNavigation">
        <img src="/static/home/bl_1.png" alt="">
    </div>
    <h1 class="mui-title">{:lang('留言反馈')}</h1>
    <div class="mui-pull-right" style="display: none;">
        <div class="mui-switch mui-active">
            <div class="mui-switch-handle"></div>
        </div>
    </div>
</header>    

{include file="public/menu" /}
<div id="pullrefresh" class="mui-content">
    <div class="mui-scroll">
        <div class="messagefeedBox" id="content">
        {volist name="data" id="v"}
        <div class="messagefeedList">
        <div class="messagefeedtl df">
            <div class="fx1">{$v.add_time|date="Y-m-d H:i:s"}</div>
            <div class="messagefeedzt">
                <span class="span_1">{:lang('状态')}：</span>
                {if condition="$v.status eq 0"}
                <span class="span_2">{:lang('待回复')}</span>{else/} <span class="span_3">{:lang('已回复')}</span>{/if}
            </div>
        </div>
        <div class="messagefeedCont">
            <div class="messagefeedlx">
                <span class="span_1">类型：</span>
                <span class="span_1"> 
                {if condition="$v.type eq 1"}{:lang('财务')}{/if}
                {if condition="$v.type eq 2"}{:lang('报单')}{/if}
                {if condition="$v.type eq 3"}{:lang('代理')}{/if}
                {if condition="$v.type eq 4"}{:lang('服务中心')}{/if}
                {if condition="$v.type eq 5"}{:lang('提现')}{/if}</span>
            </div>
            <div class="messagefeedConttx">{$v.content}</div>
            {if condition="$v.status eq 1"}<div style="color:red" class="messagefeedConttx">{:lang('回复')}：{$v.replycontent}</div>{/if}
        </div>
        </div>
        {/volist}
    </div>
    </div>

</div>
<div class="newmessagBox likeA" data-url="{:url('message/sendMessage')}">{:lang('新增留言')}</div>
{include file="public/footer" /}
<script src="/static/home/echarts.min.js" type="text/javascript" charset="utf-8"></script>
<script>
    mui('.mui-scroll-wrapper').scroll({
        deceleration: 0.0005
    });
    mui('body').on('tap', ".mesahckanAn", function () {
        if($(this).parent('.mesahckanBox').siblings('.mesahckanCont').css('display') == "none"){
            $(this).parent('.mesahckanBox').siblings('.mesahckanCont').css('display','block');
        }else{
            $(this).parent('.mesahckanBox').siblings('.mesahckanCont').css('display','none');
        }

    });
    $(document).ready(function () {
        ajaxGetOrder();
    });
    var page = 0;
    var bottomH = 50;//距离底部多少像素开始加载
    var stop = true;
    $(window).scroll(function () {
        totalheight = parseFloat($(window).height()) + parseFloat($(window).scrollTop() + bottomH);
        if ($(document).height() <= totalheight) {
            ajaxGetOrder();
        }
    });
</script>


</body></html>